﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Castle.Core.Internal;
using Coldairarrow.Util;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 电商订单
    /// </summary>
    /// 

    public class OL_EcommerceOrder
    {
        public string RowId { get; set; }
        /// <summary>
        /// ID
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 单号
        /// </summary>
        public string Order { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public string State { get; set; }
        /// <summary>
        /// 原退货状态
        /// </summary>
        public string OriginallyState { get; set; }

        /// <summary>
        /// 货件号
        /// </summary>
        public string Shipment { get; set; }

        /// <summary>
        /// 发货类型
        /// </summary>
        public string ShipmentType { get; set; }

        /// <summary>
        /// 下单日期
        /// </summary>
        public string OrderDate { get; set; }
        /// <summary>
        /// 发货日期
        /// </summary>
        public string ShipmentDate { get; set; }
        /// <summary>
        /// 平台
        /// </summary>
        public string Platform { get; set; }

        /// <summary>
        /// 电商店铺
        /// </summary>
        public string Seller { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductNumber { get; set; }
        /// <summary>
        ///仓库产品代码
        /// </summary>
        public string StockNumber { get; set; }
        /// <summary>
        /// MSKU
        /// </summary>
        public string MSKU { get; set; }

        /// <summary>
        /// SKU
        /// </summary>
        public string SKU { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal Qty { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 产品类型
        /// </summary>
        public string ProductType { get; set; }

        /// <summary>
        /// 产品品牌
        /// </summary>
        public string ProductBrand { get; set; }

        /// <summary>
        /// 付款类型
        /// </summary>
        public string PaymentType { get; set; }



        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 币别
        /// </summary>
        public string Currency { get; set; }

        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }
        /// <summary>
        /// 折前价
        /// </summary>
        public decimal PriceBeforeDiscount { get; set; }
        /// <summary>
        /// 电商店铺ID
        /// </summary>
        public string SellerId { get; set; }
        /// <summary>
        /// 仓库单号
        /// </summary>
        public string WarehouseNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 跟踪号
        /// </summary>
        public string TrackingCode { get; set; }

        /// <summary>
        /// 收货国家
        /// </summary>
        public string CountryCode { get; set; }
        /// <summary>
        /// 省/州
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 城市/区
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 地址1
        /// </summary>
        public string Address1 { get; set; }

        /// <summary>
        /// 地址2
        /// </summary>
        public string Address2 { get; set; }
        /// <summary>
        /// 地址3
        /// </summary>
        public string Address3 { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public string Zipcode { get; set; }
        /// <summary>
        /// 门牌号
        /// </summary>
        public string Doorplate { get; set; }
        /// <summary>
        /// 公司名
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 收件人姓名
        /// </summary>
        public string Recipient { get; set; }
        /// <summary>
        /// 收件人联系方式
        /// </summary>
        public string Phone1 { get; set; }
        /// <summary>
        /// 收件人联系方式2
        /// </summary>
        public string Phone2 { get; set; }
        /// <summary>
        /// 收件人邮箱
        /// </summary>
        public string Email { get; set; }


        /// <summary>
        /// 创建人名称(易仓用)
        /// </summary>
        public string EC_creater_user_name { get; set; }
        /// <summary>
        /// 平台名称(易仓用)
        /// </summary>
        public string EC_platform { get; set; }
        /// <summary>
        /// 是否被拆的订单(易仓用)
        /// </summary>
        public string EC_is_merge { get; set; }
        /// <summary>
        /// 账号别名(易仓用)
        /// </summary>
        public string EC_platform_user_name { get; set; }

        /// <summary>
        /// 数据来源
        /// </summary>
        public string DataSource { get; set; }
    }


}
